﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLNS_Data;
using QLNS_Public;
using System.Data;

namespace QLNS_BLL
{
  public  class PhongBan_BLL
    {
      PhongBan_Data pb = new PhongBan_Data();

      public DataTable LayDuLieu()
      {
          return pb.LayDuLieu();
      }
      public int Update_PhongBan(PhongBan_Public maPhong, PhongBan_Public tenPhong, PhongBan_Public dienThoai, PhongBan_Public ghiChu)
      {
          return pb.update_PhongBan(maPhong,tenPhong,dienThoai,ghiChu);
      }

      public int Insert_PhongBan(PhongBan_Public tenPhong, PhongBan_Public dienThoai, PhongBan_Public ghiChu)
      {
          return pb.insert_PhongBan(tenPhong,dienThoai,ghiChu);
      }
      public int Delete_PhongBan(PhongBan_Public maPhong)
      {
          return pb.delete_PhongBan(maPhong);
      }
    }
}
